package com.weiwu.weiwustore.pojo;

import com.weiwu.weiwustore.utils.DateUtil;
import lombok.Data;

import java.util.Date;

/**
 * 前端我的任务列表封装类
 */
@Data
public class TaskListVo {
    private Integer applyid;
    private String applicationid;
    private String type;
    private String state;
    private String applicant;
    private String applytime;
    private String applyremark;
    private String reviewer;
    private String checker;
    public TaskListVo(){}
    public TaskListVo(Integer applyid,String applicationid, String type, String state, String applicant,
                      Date applytime, String applyremark, String reviewer, String checker){
        this.applyid=applyid;
        this.applicationid=applicationid;
        this.type=type;
        this.state=state;
        this.applicant=applicant;
        this.applytime= DateUtil.getSimpleDate(applytime);
        this.applyremark= applyremark;
        this.reviewer= reviewer;
        this.checker= checker;
    }
}
